package com.fhao.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 用户注册的参数
 */
@Data
public class UserRegisterParam {
    @NotBlank(message = "姓名不能为空!")
    private String name; //姓名

    @NotBlank(message = "邮箱不能为空")
    private String mail; //邮箱

    @NotBlank(message = "电话不能为空")
    private String phoneNumber; //手机号码

    private String password;

    @NotBlank(message = "身份信息不能为空")
    private String identity;
}
